<template lang="pug">
  ButtonItem(v-bind="$attrs")
</template>

<script>
import ButtonItem from '@/components/ButtonList/ButtonItem'
export default {
  name: 'SmartButton',
  components: {
    ButtonItem
  },
  props: {
    openType: {
      type: String,
      default: 'NEWPAGE' // relation: buttonOpenTypes, ['INPAGE': 页面内， 'NEWPAGE': '新页面']
    }, // 打开方式
    turnTo: {
      type: String,
      default: ''
    }, // 链接
    link: {
      type: String,
      default: ''
    }
  },
  data () {
    return {
    }
  }
}
</script>
